home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekkan Dennou Club 147
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan).7z
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan) (Track 1).bin
/
docs
/
ippon
/
data
/
etc
/
titspark.lzh
/
sparkUR.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-11-22
|
435b
|
30 lines
#include <xsp2lib.h>
#include "../otoko.h"
#include "../effect.h"
#include "../priority.h"
void EffectInitSparkUR (EFFECT * p)
{
p->pt = obj_spark + 21;
//p->info = 0x0100 | PRIORITY_ZAKO_EXPL;
p->info = 0x8200 | PRIORITY_ZAKO_EXPL;
p->seq = 0;
p->func_effect_move = EffectMoveSparkUR;
}
short EffectMoveSparkUR (EFFECT * p)
{
if (p->seq++ >= 11) {
return (-1);
} else {
xobj_set_st (p);
p->pt++;
}
return (0);
}